package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 人员信息对象 ev_person
 * 
 * @author WJM
 * @date 2025-11-06
 */
public class EvPerson extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 人员ID */
    private Long personId;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;

    /** 性别（M男 F女） */
    @Excel(name = "性别", readConverterExp = "M=男,F=女")
    private String gender;

    /** 联系电话 */
    @Excel(name = "联系电话")
    private String phoneNumber;

    /** 身份证号或学工号 */
    @Excel(name = "身份证号或学工号")
    private String idNumber;

    /** 所属学院或部门 */
    @Excel(name = "所属学院或部门")
    private String department;

    /** 身份类型（学生/教师/职工） */
    @Excel(name = "身份类型", readConverterExp = "学=生/教师/职工")
    private String identityType;

    /** 是否已绑定电动车（0否 1是） */
    @Excel(name = "是否已绑定电动车", readConverterExp = "0=否,1=是")
    private Integer bindStatus;

    public void setPersonId(Long personId) 
    {
        this.personId = personId;
    }

    public Long getPersonId() 
    {
        return personId;
    }

    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setGender(String gender) 
    {
        this.gender = gender;
    }

    public String getGender() 
    {
        return gender;
    }

    public void setPhoneNumber(String phoneNumber) 
    {
        this.phoneNumber = phoneNumber;
    }

    public String getPhoneNumber() 
    {
        return phoneNumber;
    }

    public void setIdNumber(String idNumber) 
    {
        this.idNumber = idNumber;
    }

    public String getIdNumber() 
    {
        return idNumber;
    }

    public void setDepartment(String department) 
    {
        this.department = department;
    }

    public String getDepartment() 
    {
        return department;
    }

    public void setIdentityType(String identityType) 
    {
        this.identityType = identityType;
    }

    public String getIdentityType() 
    {
        return identityType;
    }

    public void setBindStatus(Integer bindStatus) 
    {
        this.bindStatus = bindStatus;
    }

    public Integer getBindStatus() 
    {
        return bindStatus;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("personId", getPersonId())
            .append("name", getName())
            .append("gender", getGender())
            .append("phoneNumber", getPhoneNumber())
            .append("idNumber", getIdNumber())
            .append("department", getDepartment())
            .append("identityType", getIdentityType())
            .append("bindStatus", getBindStatus())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
